Full-Stack

Welcome Portfolio Projects Contact
↑ Go Back ↑

VMware Horizon Client inside LXC Container (Debian)

VMware Horizon Client inside LXC Container (Debian)

Note: This guide is in an unfinished state and should not be followed.

Add /usr/sbin to $PATH

This is needed so the install script finds ldconfig (and probably other binaries as well).

Temporarily add /usr/sbin to $PATH variable for this shell session:

export PATH=/usr/sbin:$PATH

Install dependencies

The following packages are needed in order to install the VMware Horizon Client.

sudo apt update
sudo apt install wget gnome-keyring desktop-file-utils libmagic-dev libxkbfile1 libpulse-dev

//////////////////////////////////////////////////////////////////////////////////////////// //// NOT WORKING :( /// REMOVE

Create virtual display for X11 windows (sorry, Wayland is not supported atm)

sudo apt install xvfb
Xvfb -ac :1 -screen 0 1920x1080x24 &
DISPLAY=:1.0
export DISPLAY

INSTALL

apt install xfce4 x2goserver x2goserver-xsession

NOW WHAT /// REMOVE

sudo apt install xterm ??? // todo: with this app u can test if the x server works //// NOT WORKING :( /// REMOVE ////////////////////////////////////////////////////////////////////////////////////////////

Download VMware Horizon Client (bundle)

On the following site, search for the latest version of VMware Horizon Client bundle installer for 64-bit Linux: https://customerconnect.omnissa.com/downloads/info/slug/desktop_end_user_computing/vmware_horizon_clients/horizon_8

Copy the download link of the file so you can paste it later for the wget command.

[!NOTE] The deb package automatically installs the USB Arbitration service, which doesn't work inside an unprivileged container. You could try a privileged container and install this instead.

Download the bundle file directly:

wget https://download3.omnissa.com/software/CART25FQ1_LIN64_2312.1/VMware-Horizon-Client-2312.1-8.12.1-23543969.x64.bundle

Install VMware Horizon Client (bundle)

sudo chmod +x VMware-Horizon-Client-2312.1-8.12.1-23543969.x64.bundle
sudo ./VMware-Horizon-Client-2312.1-8.12.1-23543969.x64.bundle

Select features while installing

Be sure to deselect USB Redirection here. Configure the rest to your liking.

  • Real-Time Audio-Video: yes
  • Smart Card: yes
  • Client Drive Redirection: yes
  • Multimedia Redirection (MMR): yes
  • VMware Integrated Printing: yes
  • USB Redirection: no
  • SerialPort Redirection: yes
  • Scanner Redirection: yes
  • HTML5 Multimedia Redirection: yes
  • Register and start installed services after installation: yes
  • Do you want to check your system compatibilities for Horizon Client: yes

Alternative Install (deb) (not recommended)

With a privileged container, USB Arbitration might work, give it a try by downloading the deb:

wget https://download3.omnissa.com/software/CART25FQ1_LIN64_DebPkg_2312.1/VMware-Horizon-Client-2312.1-8.12.1-23543969.x64.deb

Install VMware Horizon Client (deb)

apt install ./VMware-Horizon-Client-2312.1-8.12.1-23543969.x64.deb